package com.wyt.dao;

import com.wyt.entity.Left;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface LeftMapper {
    List<Left> findAllLemp(@Param("employeename") String employeename,@Param("depname") String depname,@Param("pername") String pername);

    int deleteByLid(@Param("lid")String lid);

    int lzyg(@Param("ename") String ename, @Param("esex") String esex,@Param("etel") String etel, @Param("erole") String erole,@Param("did")String did,@Param("eIndate") Date eIndate);

    int updateByLid(@Param("lid") Integer lid, @Param("lname")String lname, @Param("lsex")String lsex,@Param("ltel") String ltel,@Param("ldepart") String ldepart,@Param("lOutdate") String lOutdate);
}